<?php

class ContactoController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        // action body
		$form = new Application_Form_Contacto();
		$this->view->exito = false;
		if($this->getRequest()->isPost() && $form->isValid($this->_request->getPost())){
			
			$this->view->exito = true;
		}
		$this->view->form = $form;
    }


}

